<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($System_namex); ?></title>
<link href="__PUBLIC__/Css/body.css" rel="stylesheet" media="screen" type="text/css" />
<link href="__PUBLIC__/Css/menu.css" rel="stylesheet" media="screen" type="text/css" />
<link href="__PUBLIC__/Css/main.css" rel="stylesheet" media="all" type="text/css" />
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Base.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/prototype.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/mootools.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Ajax/ThinkAjax.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Form/CheckForm.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/common.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Util/ImageLoader.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/myfocus-1.0.4.min.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/all.js\"></sc"+"ript>")</script>
<script language="JavaScript">
ifcheck = true;
function CheckAll(form)
{
	for (var i=0;i<form.elements.length-2;i++)
	{
		var e = form.elements[i];
		e.checked = ifcheck;
	}
	ifcheck = ifcheck == true ? false : true;
}
</script>
<script>
//function checkLeave(){
//	window.parent.stateChangeIE();
//}
</script>
</head>
<body>

<div class="ncenter_box">
<div class="accounttitle"><h1>会员晋级管理 </h1></div>
<table width="600" align="center">
    <tr>
    <td align="center"><form method='post' action="__URL__/adminmemberJJ/">搜索会员：<input type="text" name="UserID" title="帐号查询">&nbsp;&nbsp;
    <select name="ulevel">
    <option value="0">全部</option>
    <?php if(is_array($voo)): $i = 0; $__LIST__ = $voo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ulv): $mod = ($i % 2 );++$i;?><option value="<?php echo ($key); ?>"><?php echo ($level[$key-1]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
    </select>
    &nbsp;&nbsp;
    <input type="submit" name="Submit" value="查询"  class="btn1"/>
    </form></td>
    </tr>
</table>
<table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="0" id="tb1">
	<thead>
    <tr align="center">
        <th nowrap><span>序号</span></th>
        <th nowrap><span>会员编号</span></th>
        <th nowrap><span>姓名</span></th>
        <th nowrap><span>联系电话</span></th>
        <th nowrap><span>开通时间</span></th>
        <th nowrap><span>会员级别</span></th>
        <th nowrap><span>总奖金</span></th>
        <th nowrap><span>升级</span></th>
    </tr>
    </thead>
    <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="content_td lz" align="center"> 
        <td><?php echo ($vo['id']); ?></td>
        <td nowrap><?php echo ($vo['user_id']); ?></td>
        <td nowrap><?php echo ($vo['user_name']); ?></td>
        <td nowrap><?php echo ($vo['user_tel']); ?></td>
        <td nowrap><?php echo (date('Y-m-d H:i:s',$vo["pdt"])); ?></td>
        <td nowrap><?php echo ($voo[$vo['u_level']]); ?></td>
        <td nowrap><?php echo ($vo['zjj']); ?></td>
        <td><a href="__URL__/adminMenberJinji/uid/<?php echo ($vo['id']); ?>/">升级</a></td>
    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
    
</table>
<table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1" bgcolor="#b9c8d0">
	<tr>
    	<td align="center"><?php echo ($page); ?></td>
    </tr>
</table>
</div>
</body>
</html>
<script>new TableSorter("tb1");</script>